package com.zz.ecommerce.common.bean.insp.db.goodsbackup;

import com.zz.bundles.cache.dict.DictTag;
import com.zz.ecommerce.common.bean.insp.xml.goodsbackup.ItemRegHead;
import com.zz.ecommerce.utils.SqlType;

/**
 * Created by admin on 2016/3/28.
 */
public class TGoodsBackupHeadInsp extends ItemRegHead {
    private String id;

    @SqlType(type = "date", format = "yyyy-MM-dd hh24:mi:ss")
    private String createTime;

    private String status;

    @SqlType(type = "date", format = "yyyy-MM-dd hh24:mi:ss")
    private String statusTime;

    private String lockStatus;

    @SqlType(type = "date", format = "yyyy-MM-dd hh24:mi:ss")
    private String lockStatusTime;

    private String operId;

    private String orgId;

    @SqlType(inTable = false)
    private String applytimeStart;
    @SqlType(inTable = false)
    private String applytimeEnd;

    private String backupNo;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatusTime() {
        return statusTime;
    }

    public void setStatusTime(String statusTime) {
        this.statusTime = statusTime;
    }

    public String getOperId() {
        return operId;
    }

    public void setOperId(String operId) {
        this.operId = operId;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getApplytimeStart() {
        return applytimeStart;
    }

    public void setApplytimeStart(String applytimeStart) {
        this.applytimeStart = applytimeStart;
    }

    public String getApplytimeEnd() {
        return applytimeEnd;
    }

    public void setApplytimeEnd(String applytimeEnd) {
        this.applytimeEnd = applytimeEnd;
    }

    public String getBackupNo() {
        return backupNo;
    }

    public void setBackupNo(String backupNo) {
        this.backupNo = backupNo;
    }

    public String getStatusDisplay() {
        return DictTag.dictItem("goodsBackupStatus", status);
    }

    public String getLockStatus() {
        return lockStatus;
    }

    public void setLockStatus(String lockStatus) {
        this.lockStatus = lockStatus;
    }

    public String getLockStatusTime() {
        return lockStatusTime;
    }

    public void setLockStatusTime(String lockStatusTime) {
        this.lockStatusTime = lockStatusTime;
    }
}
